package com.platform.tony.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


@Data
@TableName(value = "tb_user")
public class User implements Serializable {

    private static final long serialVersionUID = 7669385498192394992L;


    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    // 用户名
    private String username;
    // 密码
    private String password;
    // 盐值
    private String salt;
    // 昵称
    private String nickname;
    //
    private String cellphone;
    //
    private String openId;

    private String company;

    private String email;

    private String idCard;

    private Date birthday;

    private Integer age;

    private Integer sex;

    private BigDecimal weight;


    private Integer status;

    private Date createTime;

    private Date updateTime;





}
